package com.liujg.future.model.entity;

import com.liujg.future.model.resp.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;


@EqualsAndHashCode(callSuper = true)
@Document("hot_detail_goods")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class HotDetailGoods extends Goods {

    @Id
    private String subTypeIdGoodsId;
    private String subTypeId;
    @Field("goods_id")
    private String id;

}
